<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>用户信息</title>
</head>
<body>
    <h2>用户信息</h2>
    <p>用户名: <span th:text="${user.username}"></span></p>
    <p>真实姓名: <span th:text="${user.realName}"></span></p>
    <p>邮箱: <span th:text="${user.email}"></span></p>
    <a href="/logout">退出登录</a>
</body>
</html>
    